package com.zbkj.admin.controller.platform.assistant.service.impl;

import com.zbkj.admin.controller.platform.assistant.service.AssistantGroupService;
import com.zbkj.common.model.assistant.AssistantGroup;
import com.zbkj.service.assistant.model.request.AssistantGroupSearchRequest;
import com.zbkj.service.assistant.service.AssistantGroupBaseServiceImpl;
import lombok.RequiredArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.context.annotation.Primary;
import org.springframework.stereotype.Service;

import java.util.List;

@Slf4j
@Primary
@Service
@RequiredArgsConstructor
public class AssistantGroupServiceImpl extends AssistantGroupBaseServiceImpl implements AssistantGroupService {

    @Override
    public List<AssistantGroup> getList(AssistantGroupSearchRequest request) {
        return super.lambdaQuery().orderByAsc(AssistantGroup::getSort).list();
    }
}

